applications of derivatives jee advanced